{{include template('header','member')}}
<style>
    .validform input {
        width: 70%;
        float: left;
    }
</style>
<script type="text/javascript" src="{{STATIC_URL}}/plugins/address.js"></script>
<div class="w980 main">
    {{include template('left','member')}}
    <div class="main_right">
        <div class="tit"><h3>修改密码</h3></div>
        <div class="main_cont">
            <form method="post" action=""  class="validform">
                <table class="table table-border ticky_table">
                    <tr><td class="w_100"> <span class="red">*</span>原密码：</td><td><input type="password" name="oldpass"  class="form-control" datatype="*6-16" nullmsg="请设置密码！" errormsg="密码范围在6~16位之间！" placeholder="请输入6~16位的密码"/></td></tr>
                    <tr><td class="w_100"><span class="red">*</span>新密码：</td><td><input type="password" name="password"  value="" class="form-control"datatype="*6-16" nullmsg="请设置密码！" errormsg="密码范围在6~16位之间！" placeholder="请输入6~16位的密码"/></td></tr>
                    <tr><td class="w_100"><span class="red">*</span>确认密码：</td><td><input type="password" name="password2"  value="" class="form-control"datatype="*6-16" recheck="password" nullmsg="请设置密码！" errormsg="密码范围在6~16位之间！" placeholder="请输入6~16位的密码"/></td></tr>
                    <tr><td class="w_100"><span class="red">*</span>验证码：</td><td><input type="text" name="code" value=""  class="form-control" style="width:150px;float: left;"datatype="*4-4" nullmsg="请填写验证码" errormsg="请填写4位验证码" placeholder="请输入验证码"/>
                            <img src="{{url('api/index/code')}}" onclick="this.src = this.src + '?'" class="codeimg" title="看不清，换一张">
                        </td></tr>
                    <tr><td></td><td><input type="submit" name="dosubmit" class="btn btn-primary" value="提交" style="width: 54px;" /></td></tr>
                </table>
            </form>

        </div>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        $(".validform").Validform({tiptype: 3, showAllError: true});
    });
</script>
{{include template('footer','member')}}
